using System;
using System.ComponentModel;

namespace Terra.Core.Common.Enums.Identity;

/// <summary>
/// 用户状态枚举
/// </summary>
public enum UserStatus
{
    /// <summary>
    /// 正常
    /// </summary>
    [Description("正常")]
    Normal = 0,

    /// <summary>
    /// 已禁用
    /// </summary>
    [Description("已禁用")]
    Disabled = 1,

    /// <summary>
    /// 已锁定
    /// </summary>
    [Description("已锁定")]
    Locked = 2,

    /// <summary>
    /// 未激活
    /// </summary>
    [Description("未激活")]
    Inactive = 3
}

/// <summary>
/// 用户类型枚举
/// </summary>
public enum UserType
{
    /// <summary>
    /// 普通用户
    /// </summary>
    [Description("普通用户")]
    Normal = 0,

    /// <summary>
    /// 管理员
    /// </summary>
    [Description("管理员")]
    Admin = 1,

    /// <summary>
    /// 系统用户
    /// </summary>
    [Description("系统用户")]
    System = 2
}